<script lang="ts" setup>
import previewPDF from '@/components/common/PreviewPDF'

const pdf =
  'http://192.168.2.107:1808/yycxViop/offline/order/file/2024/04/15/185208623/【力力出行-42.78元-1个行程】高德打车电子发票.pdf'
const handlePreviewPDF = () => {
  previewPDF(pdf)
}
</script>

<template>
  <el-card>
    <el-button type="primary" size="default" @click="handlePreviewPDF">预览PDF</el-button>
  </el-card>
</template>
